package com.bocai.mapper;

import com.bocai.bean.CashInfo;
import com.bocai.vo.CashInfoVo;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface CashInfoMapper {
    int deleteByPrimaryKey(Integer cashId);

    int insert(CashInfo record);

    int insertSelective(CashInfo record);

    CashInfo selectByPrimaryKey(Integer cashId);

    int updateByPrimaryKeySelective(CashInfo record);

    int updateByPrimaryKey(CashInfo record);

    List<CashInfo> selectAllCashInfo(HashMap<String, Object> map);

    List<CashInfoVo> selectAllCashInfos();

    int updateCashInfo(HashMap<String, Object> map);

    BigDecimal selectMoneyNum();
}